export tag=v1.2
root:
	export VERSION=1.2

build:
	echo "building httpserver binary"
	mkdir -p bin/amd64
	CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o bin/amd64 .
release: build
	echo "building httpserver container"
	docker build -t hotcatteam/httpserver:${tag} .

push: release
	echo "pushing hotcatteam/httpserver"
	docker push hotcatteam/httpserver:${tag}
